package liangtWorkSpace.proxy.subject.House;

/**
 * @ClassName BuyHourseProxy
 * @Description : 功能说明
 * @Author : LiangT
 * @Date : 2020/4/13 17:18
 */
public class BuyHourseProxy implements BuyHourse {
    private BuyHourse buyHourse;

    public BuyHourseProxy(BuyHourse buyHourse) {
        this.buyHourse = buyHourse;
    }

    @Override
    public void buyHourse() {
        System.out.println("买房前准备");
        this.buyHourse.buyHourse();
        System.out.println("买房后准备");
    }

    @Override
    public void say() {

    }
}
